<php>
    $modulewhere=array();
    $modulewhere["tablename"]="fastxcms_apptest";
    $modulewhere["dataid"]=$modelArticleId;
    $modulewhere["dataidname"]="id";
    $article=modulepara("datainfo",$modulewhere);	
    $headmeta['title'] = $article['title'];
    $headmeta['keyword'] = $article['field1'];
    $headmeta['description'] = $article['field2'];
</php>
<include file="public@head_top"/>
</head>
<body class="bgeee">
<include file="public@head"/>
<include file="public@sidebar_head"/>

<div class="newsDetailW">
    <div class="newsDetailH">
        <h2>{$article.title}</h2>
        <p>
          <i class="fa fa-calendar"></i> {$configlang['release_time']}{$configlang['mh']}{:date('Y-m-d H:i',$article.type1)} &nbsp;&nbsp; 
          <i class="fa fa-eye"></i> {$configlang['Views']}{$configlang['mh']}{$article.type2}
        </p>
    </div>
    <div class="newsDetailCont">
        <div class="st-blank30 st-xd-blank15"></div>
        {$article.field2|default=''}
		<div class="st-blank30 st-xd-blank15"></div>
    </div>
    
    <div class="jump">
        <p>
        	<if condition="$prev_article.post_title">
        	<a title="{$prev_article['post_title']}" href="{:cmf_url('portal/Article/index',array('id'=>$prev_article.id,'cid'=>$prev_article['category_id']))}">
                <span>{$configlang['Previous']}{$configlang['mh']}</span>
                {$prev_article['post_title']}
            </a>
            <else/>
            <a><span>{$configlang['Previous']}{$configlang['mh']}</span> {$configlang['No_more']}</a>
            </if>
        </p>
        <p>
        	<if condition="$next_article.post_title">
        	<a title="{$next_article['post_title']}" href="{:cmf_url('portal/Article/index',array('id'=>$next_article.id,'cid'=>$next_article['category_id']))}">
                <span>{$configlang['Next']}{$configlang['mh']}</span>
                {$next_article['post_title']}
            </a>
            <else/>
            <a><span>{$configlang['Next']}{$configlang['mh']}</span> {$configlang['No_more']}</a>
            </if>
        </p>
    </div>
    
    <div class="newsLink">
        {$site_info.sharehtml|stzhtml}
    </div>
    
    
</div>

<include file="public@sidebar_foot"/>                  
<include file="public@footer"/>
</body>    
</html>